package cn.rkylin.oms.aftersale.sysreturn.domain;

import cn.rkylin.oms.common.base.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.Date;

public class SysReturnSku extends BaseEntity {
    /**
     * serialVersionUID:序列化标识符.
     */
    private static final long serialVersionUID = -8493417462977774195L;

    /**
     * 退款单明细Id
     */
    private String refundSkuId;

    /**
     * 退货Sku主键
     */
    private String returnSkuId;
    /**
     * SN号
     */
    private String sn;

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    /**
     * 退货单Id
     */
    private String returnId;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    /**
     * 删除标记
     */
    private String deleted;

    /**
     * 规格id
     */
    private String skuId;

    /**
     * 规格商家编码
     */
    private String skuCode;

    /**
     * 规格名称
     */
    private String skuName;

    /**
     * 商品id
     */
    private String goodsId;

    /**
     * 商品商家编码
     */
    private String goodsCode;

    /**
     * 商品名称
     */
    private String goodsName;

    /**
     * 数量
     */
    private Integer qty;

    /**
     * 备注
     */
    private String remark;


    /**
     * 赠品标记
     */
    private String isGift;
    /**
     * 订单商品标记
     */
    private String isOrderSku;
    /**
     * 实际单价(拍单价)
     */
    private BigDecimal factUnitPrice;
    /**
     * 实际支付单价
     */
    private BigDecimal divideGoodsFee;
    /**
     * 来源单据商品明细Id
     */
    private String sourceSkuId;
    /**
     * 平台OID
     */
    private String ecOid;
    /**
     * 来源单据主单据编码
     */
    private String sourceCode;

    /**
     * 成本价
     */
    private BigDecimal goodsSkuCost;


    /**
     * 退款单明细Id
     *
     * @return refund_sku_id 退款单明细Id
     */
    public String getRefundSkuId() {
        return refundSkuId;
    }

    /**
     * 退款单明细Id
     *
     * @param refundSkuId 退款单明细Id
     */
    public void setRefundSkuId(String refundSkuId) {
        this.refundSkuId = refundSkuId;
    }

    /**
     * 退货Sku主键
     *
     * @return return_sku_id 退货Sku主键
     */
    public String getReturnSkuId() {
        return returnSkuId;
    }

    /**
     * 退货Sku主键
     *
     * @param returnSkuId 退货Sku主键
     */
    public void setReturnSkuId(String returnSkuId) {
        this.returnSkuId = returnSkuId;
    }

    /**
     * 退货单Id
     *
     * @return return_id 退货单Id
     */
    public String getReturnId() {
        return returnId;
    }

    /**
     * 退货单Id
     *
     * @param returnId 退货单Id
     */
    public void setReturnId(String returnId) {
        this.returnId = returnId;
    }

    /**
     * 创建时间
     *
     * @return create_time 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 创建时间
     *
     * @param createTime 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 修改时间
     *
     * @return update_time 修改时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 修改时间
     *
     * @param updateTime 修改时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 删除标记
     *
     * @return deleted 删除标记
     */
    public String getDeleted() {
        return deleted;
    }

    /**
     * 删除标记
     *
     * @param deleted 删除标记
     */
    public void setDeleted(String deleted) {
        this.deleted = deleted;
    }

    /**
     * 规格id
     *
     * @return sku_id 规格id
     */
    public String getSkuId() {
        return skuId;
    }

    /**
     * 规格id
     *
     * @param skuId 规格id
     */
    public void setSkuId(String skuId) {
        this.skuId = skuId;
    }

    /**
     * 规格商家编码
     *
     * @return sku_code 规格商家编码
     */
    public String getSkuCode() {
        return skuCode;
    }

    /**
     * 规格商家编码
     *
     * @param skuCode 规格商家编码
     */
    public void setSkuCode(String skuCode) {
        this.skuCode = skuCode;
    }

    /**
     * 规格名称
     *
     * @return sku_name 规格名称
     */
    public String getSkuName() {
        return skuName;
    }

    /**
     * 规格名称
     *
     * @param skuName 规格名称
     */
    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    /**
     * 商品id
     *
     * @return goods_id 商品id
     */
    public String getGoodsId() {
        return goodsId;
    }

    /**
     * 商品id
     *
     * @param goodsId 商品id
     */
    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    /**
     * 商品商家编码
     *
     * @return goods_code 商品商家编码
     */
    public String getGoodsCode() {
        return goodsCode;
    }

    /**
     * 商品商家编码
     *
     * @param goodsCode 商品商家编码
     */
    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    /**
     * 商品名称
     *
     * @return goods_name 商品名称
     */
    public String getGoodsName() {
        return goodsName;
    }

    /**
     * 商品名称
     *
     * @param goodsName 商品名称
     */
    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    /**
     * 数量
     *
     * @return qty 数量
     */
    public Integer getQty() {
        return qty;
    }

    /**
     * 数量
     *
     * @param qty 数量
     */
    public void setQty(Integer qty) {
        this.qty = qty;
    }

    /**
     * 备注
     *
     * @return remark 备注
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 备注
     *
     * @param remark 备注
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getIsGift() {
        return isGift;
    }

    public void setIsGift(String isGift) {
        this.isGift = isGift;
    }

    public String getIsOrderSku() {
        return isOrderSku;
    }

    public void setIsOrderSku(String isOrderSku) {
        this.isOrderSku = isOrderSku;
    }

    public BigDecimal getFactUnitPrice() {
        return factUnitPrice;
    }

    public void setFactUnitPrice(BigDecimal factUnitPrice) {
        this.factUnitPrice = factUnitPrice;
    }

    public BigDecimal getDivideGoodsFee() {
        return divideGoodsFee;
    }

    public void setDivideGoodsFee(BigDecimal divideGoodsFee) {
        this.divideGoodsFee = divideGoodsFee;
    }

    public String getSourceSkuId() {
        return sourceSkuId;
    }

    public void setSourceSkuId(String sourceSkuId) {
        this.sourceSkuId = sourceSkuId;
    }

    public String getEcOid() {
        return ecOid;
    }

    public void setEcOid(String ecOid) {
        this.ecOid = ecOid;
    }

    public String getSourceCode() {
        return sourceCode;
    }

    public void setSourceCode(String sourceCode) {
        this.sourceCode = sourceCode;
    }

    public BigDecimal getGoodsSkuCost() {
        return goodsSkuCost;
    }

    public void setGoodsSkuCost(BigDecimal goodsSkuCost) {
        this.goodsSkuCost = goodsSkuCost;
    }
}